﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Linq.Expressions;
using CH.Easy.DbProvider.Common;
namespace CH.Easy.DbProvider.ExpressionExtend
{
    public class OrderExpression : Expression
    {


        public List<Expression> OrderCollection { get; set; }
        public OrderExpression()
        {
            OrderCollection = new List<Expression>();
        }

        public void AddOrder(Expression expression)
        {
            this.OrderCollection.Add(expression);
        }
        public override ExpressionType NodeType
        {
            get
            {

                return (ExpressionType)ExpressionTypeExend.Order;
            }
        }

    }
}
